import 'package:demo_xm/generated/json/base/json_convert_content.dart';
import 'package:demo_xm/model/base_bean.dart';

BaseBean $BaseBeanFromJson(Map<String, dynamic> json) {
	final BaseBean baseBean = BaseBean();
	final int? code = jsonConvert.convert<int>(json['code']);
	if (code != null) {
		baseBean.code = code;
	}
	final String? message = jsonConvert.convert<String>(json['message']);
	if (message != null) {
		baseBean.message = message;
	}
	return baseBean;
}

Map<String, dynamic> $BaseBeanToJson(BaseBean entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['code'] = entity.code;
	data['message'] = entity.message;
	return data;
}